package com.latsen.pawfit.common.util.glide

import android.graphics.drawable.Drawable
import android.support.annotation.DrawableRes

class GlideResource() {

    var url: String? = null
        private set

    var drawable: Drawable? = null
        private set

    var drawableId: Int? = null
        private set

    constructor(url: String) : this() {
        this.url = url
    }

    constructor(drawable: Drawable) : this() {
        this.drawable = drawable
    }

    constructor(@DrawableRes drawableId: Int) : this() {
        this.drawableId = drawableId
    }

}